package com.w.proxy.huangyong.imp;

import com.w.proxy.huangyong.api.Greeting;
import com.w.proxy.proxy.advice.huangyong.aspectj.Test;
import org.springframework.stereotype.Component;

/**
 *
 */
@Component("greetingImpl")
public class GreetingImpl implements Greeting {
    @Override
    @Test
    public void sayHello(String name) {
        System.out.println("Hello!" + name);
    }

    public void goodMorning(String name) {
        System.out.println("Good Morning!" + name);
    }

    public void goodNight(String name) {
        System.out.println("Good Night!" + name);
    }
}
